﻿using System;
using System.Collections.Generic;

using E.BLL;
using E.Model;
using E.Web.UI.Page;

using X.Common;

namespace E.Web.Teacher
{
    public partial class AreaSlt : TeacherBasePage
    {
        public IList<DictAreaModel> areaList;

        protected override void ShowPage()
        {
            if (ispost)
            {
                string areaid = XRequest.GetString("AreaSlt");
                if (areaid != "")
                {
                    Utils.WriteCookie("areaid", areaid);
                    ExecuteJS("window.top.location = '/frames/Index.aspx';");
                }
                else
                {
                    Alert("登录成功");
                }
            }
            else
            {
                areaList = GetTeacherAreaList(teacherid);
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}
